#pragma once

#include <iostream>
#include <Windows.h>
#include <WinBase.h>
#include <string>

using namespace std;

class CRunTimeCalc
{
public:
	CRunTimeCalc(const string& strName) : m_strName(strName)
	{
		m_timeStart = GetTickCount();
	}

	~CRunTimeCalc()
	{
		m_timeEnd = GetTickCount();

		cout<<m_strName<<" start stamp: "<<m_timeStart<<" end stamp: "<<m_timeEnd<<" spend time: "<<m_timeEnd-m_timeStart<<" ms"<<endl;
	}

private:
	CRunTimeCalc() {}

private:
	string m_strName;
	DWORD m_timeStart;
	DWORD m_timeEnd;
};


class CAlgorithmAnlysis
{
public:
	CAlgorithmAnlysis(void);
	~CAlgorithmAnlysis(void);

public:
	static int Pow1(int iX, int iN);
	static int Pow2(int iX, int iN);

private:

};


